<%@page import="com.kensure.shike.constant.BusiConstant"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<style type="text/css">
   body {
       margin: 0;
       padding: 0;
   }          
   .nav {
       position: relative;
       background-color: #fff;
       height: 58px;
       width: 100%;
       border-bottom: 1px solid #DADADA;
   }  
   .nav img {
       width: 56px;
   }  
   .nav ul {
       list-style: none;
       margin: 0;
       padding: 0;
       text-align: center;
   }  
   .nav ul li {
       height: 58px;
       width: 168px;
       line-height: 58px;
       text-align: center;
       display: inline-block;
   }   
   .nav ul li:hover {
       cursor: pointer;
   }   
   .nav ul li a {
       text-decoration: none;
       color: #666;
       padding-bottom: 8px;
   }
   .nav ul li .actived {
       border-bottom: 3px solid #EE5C42;
   }
</style>
<link rel="stylesheet" href="<%=BusiConstant.context%>/common/css/helang.css">

<div class="nav">
	<div style="float:left;margin-left:100px;">
	<span style="height:56px;line-height:56px;display:block;float:left;">后台管理系统</span></div>   
	
	
	
<nav class="hl_nav">
    <ul class="nav_list" id="mynav">
        
        <li class="highlight">
            <a class="nav_head" href="<%=BusiConstant.context%>/gl/bblist">
                <i class="icon fa fa-cloud-download"></i>
                <span>商品管理</span>
            </a>
        </li>
        
         <li class="highlight">
            <a class="nav_head" href="<%=BusiConstant.context%>/gl/userlist">
                <i class="icon fa fa-cloud-download"></i>
                <span>会员管理</span>
            </a>
             <a href="<%=BusiConstant.context%>/gl/userlist" class="item">会员管理</a>
             <a href="<%=BusiConstant.context%>/ht/txlist" class="item">提现管理</a>
        </li>
        
         <li class="highlight">
            <a class="nav_head" href="<%=BusiConstant.context%>/gl/orderlist">
                <i class="icon fa fa-cloud-download"></i>
                <span>订单管理</span>
            </a>
        </li>
        
        <li class="highlight">
            <a class="nav_head" href="javascipt:;">
                <i class="icon fa fa-cloud-download"></i>
                <span>内容管理</span>
            </a>
             <a href="<%=BusiConstant.context%>/ht/cmslist" class="item">消息管理</a>
             <a href="<%=BusiConstant.context%>/ht/typelist" class="item">类型管理</a>
        </li>
        
         <li class="highlight">
            <a class="nav_head" href="javascipt:;">
                <i class="icon fa fa-cloud-download"></i>
                <span>营销情况</span>
            </a>
            <a href="<%=BusiConstant.context%>/ht/yingxiaoshuju" class="item">营销概况</a>
            <a href="<%=BusiConstant.context%>/ht/yingxiaoxq" class="item">营销详情</a>
            <a href="<%=BusiConstant.context%>/ht/yingxiaosp" class="item">商品营销情况</a>     
        </li>
        
          <li class="highlight">
            <a class="nav_head" href="<%=BusiConstant.context%>/ht/changshanglist">
                <i class="icon fa fa-cloud-download"></i>
                <span>办事处管理</span>
                <a href="<%=BusiConstant.context%>/ht/changshanglist" class="item">归结账户</a>
            	<a href="<%=BusiConstant.context%>/ht/banshichulist" class="item">办事处管理</a>
            </a>
        </li>
        
        <li class="highlight">
            <a class="nav_head" href="javascipt:;">
                <i class="icon fa fa-cloud-download"></i>
                <span>财务情况</span>
            </a>
            <a href="<%=BusiConstant.context%>/ht/caiwu" class="item">每日财务情况</a>
            <a href="<%=BusiConstant.context%>/ht/splrhs" class="item">商品利润核算</a>
            <a href="<%=BusiConstant.context%>/ht/hylrhs" class="item">会员利润核算</a>
            <a href="<%=BusiConstant.context%>/ht/cwls" class="item">财务流水</a>
        </li>
        
        <li class="highlight">
            <a class="nav_head" href="javascipt:;">
                <i class="icon fa fa-cloud-download"></i>
                <span>系统设置</span>
            </a>
        </li>
    </ul>
    <div class="shade"></div>
</nav>
</div>

<script>
var nowhref = window.location.href;
 function mynavselect(){
	 var mynav = $("#mynav");
	 var mynavlis = mynav.children();
	 for(var i=0;i<mynavlis.length;i++){
		 var lidom = $(mynavlis[i]);
		 var as = lidom.children();
		 for(var index=0;index<as.length;index++){
			 var hrefv = $(as[index]).attr("href");
			 if(nowhref.indexOf(hrefv) != -1){
				 lidom.addClass("active");
			 }
		 }	 
	 }
 }
 mynavselect();

</script>
